<?php
namespace Supplier\Controller;
use Think\Controller;
class MyinfoController extends CommonController {
    // 获取商家详细信息
	public function myinfo()
    {
        $id = $_SESSION['supplier']['supplier_id'];

        $Supplier = M('Supplier');

        $data = $Supplier -> where("supplier_id = $id") -> find();
        // var_dump($data);
        // die;
        $this -> assign('data', $data);

        $this -> display();
    }
}